package collection;

import exception.CollectionEmptyException;

public interface IStack<E> {

	public boolean isEmpty();
	
	public int size();
	
	public void push(E element);
	
	public E pop() throws CollectionEmptyException;
	
	public E top() throws CollectionEmptyException;
	
}
